<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>embedme: src/IODevice.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">IODevice.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>输入输出设备  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_base_type_8h_source.html">BaseType.h</a>&quot;</code><br />
<code>#include &lt;iostream&gt;</code><br />
</div>
<p><a href="_i_o_device_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_i_o_device.html">libemb::IODevice</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">IO设备抽象类  <a href="classlibemb_1_1_i_o_device.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:aebc0013d0befa27f40e0592cdf697438"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438">libemb::IO_MODE_E</a> { <br />
&#160;&#160;<a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438a3d257633efac73a1b61a47273fedbdb1">libemb::IO_MODE_RD_ONLY</a> =0, 
<a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438a086eedf4de319baece28cd50aaf5f27b">libemb::IO_MODE_WR_ONLY</a>, 
<a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438adfdb9a5b5560a6535f659200e9a1eed0">libemb::IO_MODE_RDWR_ONLY</a>, 
<a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438ad9af52ee9a1d21ec32c91cb53e4c545b">libemb::IO_MODE_APPEND_ONLY</a>, 
<br />
&#160;&#160;<a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438a224250898f62a465847fb6648d5ad432">libemb::IO_MODE_REWR_ORNEW</a>, 
<a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438a83de3d07734fdb19a1ff74a4d8f1ccc8">libemb::IO_MODE_RDWR_ORNEW</a>, 
<a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438a97a20a9fd56ad0188b6726fd0c20390e">libemb::IO_MODE_APPEND_ORNEW</a>, 
<a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438a0156c46e7a0791fc900f4bea9acef347">libemb::IO_MODE_RDAPPEND_ORNEW</a>, 
<br />
&#160;&#160;<a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438a9ff722bf0e6fc2f1edf0a7b2d4580688">libemb::IO_MODE_INVALID</a> =0xFF
<br />
 }</td></tr>
<tr class="separator:aebc0013d0befa27f40e0592cdf697438"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>输入输出设备 </p>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="aebc0013d0befa27f40e0592cdf697438"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebc0013d0befa27f40e0592cdf697438">&#9670;&nbsp;</a></span>IO_MODE_E</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_i_o_device_8h.html#aebc0013d0befa27f40e0592cdf697438">libemb::IO_MODE_E</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>定义输入输出模式 </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aebc0013d0befa27f40e0592cdf697438a3d257633efac73a1b61a47273fedbdb1"></a>IO_MODE_RD_ONLY&#160;</td><td class="fielddoc"><p>只可读(r) </p>
</td></tr>
<tr><td class="fieldname"><a id="aebc0013d0befa27f40e0592cdf697438a086eedf4de319baece28cd50aaf5f27b"></a>IO_MODE_WR_ONLY&#160;</td><td class="fielddoc"><p>只可写 </p>
</td></tr>
<tr><td class="fieldname"><a id="aebc0013d0befa27f40e0592cdf697438adfdb9a5b5560a6535f659200e9a1eed0"></a>IO_MODE_RDWR_ONLY&#160;</td><td class="fielddoc"><p>只可读写(r+) </p>
</td></tr>
<tr><td class="fieldname"><a id="aebc0013d0befa27f40e0592cdf697438ad9af52ee9a1d21ec32c91cb53e4c545b"></a>IO_MODE_APPEND_ONLY&#160;</td><td class="fielddoc"><p>只增加 </p>
</td></tr>
<tr><td class="fieldname"><a id="aebc0013d0befa27f40e0592cdf697438a224250898f62a465847fb6648d5ad432"></a>IO_MODE_REWR_ORNEW&#160;</td><td class="fielddoc"><p>文件重写,没有则创建(w) </p>
</td></tr>
<tr><td class="fieldname"><a id="aebc0013d0befa27f40e0592cdf697438a83de3d07734fdb19a1ff74a4d8f1ccc8"></a>IO_MODE_RDWR_ORNEW&#160;</td><td class="fielddoc"><p>文件可读写,没有则创建(w+) </p>
</td></tr>
<tr><td class="fieldname"><a id="aebc0013d0befa27f40e0592cdf697438a97a20a9fd56ad0188b6726fd0c20390e"></a>IO_MODE_APPEND_ORNEW&#160;</td><td class="fielddoc"><p>文件可增加,没有则创建(a) </p>
</td></tr>
<tr><td class="fieldname"><a id="aebc0013d0befa27f40e0592cdf697438a0156c46e7a0791fc900f4bea9acef347"></a>IO_MODE_RDAPPEND_ORNEW&#160;</td><td class="fielddoc"><p>文件可读或可增加,没有则创建(a+) </p>
</td></tr>
<tr><td class="fieldname"><a id="aebc0013d0befa27f40e0592cdf697438a9ff722bf0e6fc2f1edf0a7b2d4580688"></a>IO_MODE_INVALID&#160;</td><td class="fielddoc"><p>非法模式 </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
